package sky.springboot.literature_and_art.service;


import sky.springboot.literature_and_art.pojo.PageBean;
import sky.springboot.literature_and_art.pojo.Article;

public interface ArticleService {
    //新建文章
    void add(Article article);

    //条件分页列表查询
    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);
}
